import React from "react";
import { BrowserRouter, Route, Routes, Navigate } from "react-router-dom";
import Home from "@/pages/Home";
import Demo from "@/pages/Demo";
// import Login from "@/pages/Login";
// import Menu from '@/pages/Menu'

// TODO: 待完成
const RouterEntry: React.FC = () => {
  return (
    <BrowserRouter>
      <Routes>
        <Route path="/" element={<Home />}>
          {/* <Route path="/login" element={<Login />}></Route> */}
          {/* <Route path="/menu" element={Menu}></Route> */}
          {/* <Route path="/demo" element={<Demo/>}></Route> */}
        </Route>
        <Route path="/demo" element={<Demo />}></Route>
      </Routes>
    </BrowserRouter>
  );
};

export default RouterEntry;
